echo $0
echo $1
cd /home/bingo/patrol_ws/src/platform_controller_server
rm -f rosbag.txt
sleep 1
bash -c "source /home/bingo/patrol_ws/devel/setup.bash;roslaunch --pid=/home/bingo/patrol_ws/src/platform_controller_server/rosbag.txt  platform_controller_server rosbag_record.launch bag_name:=$1" 
